<?php

class API_SystemController 
	extends Core_API_Controller
{

    public function indexAction()
    {
    		
    	$systems	= Core_System_Mapper::fetchAll();
    	
    	foreach($systems as $system)
    	{
    		$sysXml	= $this->_xml->addChild('system');
    		$system->toXml($sysXml); 		
       	}    	
    }
    
    public function getAction()
    {
    	
    }
    
    public function postAction()
    {
    	
    }
    
    public function putAction()
    {
    	
    }
    
    public function deleteAction()
    {
    	
    }
    
	protected function _setVersion()
	{
		$verXml = $this->_xml->addChild('versions');
		$verXml->addChild('dnd', htmlentities());
		
	}
}